package io.bdmc.modules.bss.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import io.bdmc.common.utils.MyPage;
import io.bdmc.modules.bss.entity.DeviceMachineOs;
import io.bdmc.modules.bss.mapper.DeviceMachineOsMapper;
import io.bdmc.modules.bss.service.IDeviceMachineOsService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author 黄露
 * @since 2021-06-02
 */
@Service
public class DeviceMachineOsServiceImpl extends ServiceImpl<DeviceMachineOsMapper, DeviceMachineOs> implements IDeviceMachineOsService {
    @Autowired
    DeviceMachineOsMapper _devicemachineosMapper;

    @Override
    public MyPage<DeviceMachineOs> mySelectPage(MyPage<DeviceMachineOs> myPage) {
        return _devicemachineosMapper.mySelectPage(myPage);
    }

    @Override
    public DeviceMachineOs selectLastOsData(String diskSn) {
        return _devicemachineosMapper.selectLastOsData(diskSn);
    }

    @Override
    public MyPage<DeviceMachineOs> selectPage(MyPage<DeviceMachineOs> osPage, QueryWrapper<DeviceMachineOs> w8) {
        return _devicemachineosMapper.selectPage(osPage,w8);
    }
}
